projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ce6a71
)
Adwaita: Fix 'add color' button corners
author
Matthias Clasen
<mclasen@redhat.com>
Wed, 1 May 2019 17:18:39 +0000
(17:18 +0000)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 1 May 2019 17:18:39 +0000
(17:18 +0000)
The specification for border-radius goes
top-left top-right bottom-right bottom-left.
The css for the add button in the color
chooser got this wrong, and was showing
a broken top-right corner.
Closes: https://gitlab.gnome.org/GNOME/gtk/issues/1856
gtk/theme/Adwaita/_common.scss
patch
|
blob
|
history
diff --git
a/gtk/theme/Adwaita/_common.scss
b/gtk/theme/Adwaita/_common.scss
index 6628a901004f202eeb14bfb1522d6b7c327f4a27..1faadd14a3a18fcef4ef611e22dc606107a91eb0 100644
(file)
--- a/
gtk/theme/Adwaita/_common.scss
+++ b/
gtk/theme/Adwaita/_common.scss
@@
-4342,7
+4342,7
@@
colorswatch {
}
&#add-color-button {
- border-radius: $_colorswatch_radius
$_colorswatch_radius 0 0
;
+ border-radius: $_colorswatch_radius
0 0 $_colorswatch_radius
;
&:only-child { border-radius: $_colorswatch_radius; }